package com.hs.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ConsultantEvaluation {
    private int id;
    private String content;//评价内容
    private int star;//星级
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date evaluationTime;//评价时间
    private int anonymity;//是否匿名
    private int userId;//用户编号
    private int consultantId;//咨询师编号
    private int myConsultId;//我的咨询编号
    private User userc;
    private Consultant consultantc;
    private MyConsult myconsultc;
}
